package com.motong.gongdan.vo.resp;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.motong.gongdan.vo.system.otherVo.CustomFieldVo;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author:fff
 * @time:2022/3/7
 */
@Data
public class WorkReportListResp {
    @ExcelProperty(value = "序号",index = 0)
    private Integer id;
    @ExcelProperty(value = "工单编号",index = 1)
    private String workOrderCode;
    @ExcelProperty(value = "产品编号",index = 2)
    private String productCode;
    @ExcelProperty(value = "产品名称",index = 3)
    private String productName;
    @ExcelProperty(value = "产品规格",index = 4)
    private String productSpecification;
    @ExcelProperty(value = "工序名称",index = 5)
    private String processName;
    @ExcelProperty(value = "工序状态",index = 6)
    private Integer processState;
    @ExcelProperty(value = "报工数量",index = 7)
    private BigDecimal reportNumber;
    @ExcelProperty(value = "计价方式",index = 8)
    private Integer pricingMethod;
    @ExcelProperty(value = "工资单价",index = 9)
    private BigDecimal unitPrice;
    @ExcelProperty(value = "预计工资",index = 10)
    private BigDecimal expectWages;
    @ExcelProperty(value = "良品数量",index = 11)
    private BigDecimal goodProductNumber;
    @ExcelProperty(value = "不良品数量",index = 12)
    private BigDecimal badProductNumber;

    @ExcelIgnore
    private Integer produceUser;

    @ExcelProperty(value = "报工开始时间",index = 14)
    private Date reportStartTime;
    @ExcelProperty(value = "报工结束时间",index = 15)
    private Date reportEndTime;
    @ExcelProperty(value = "审核状态",index = 16)
    private Integer verifyState;
    @ExcelProperty(value = "审核时间",index = 17)
    private Date verifyTime;
    @ExcelProperty(value = "未完成原因",index = 18)
    private String unfinishedReason;

    @ExcelProperty(value = "生产人员",index = 13)
    private String produceUserName;
    @ExcelIgnore
    private Integer wagesId;

    @ExcelIgnore
    private String other;

    @ExcelIgnore
    private String processCode;


    /**
     * false:不可以
     * true:可以
     */
    @ExcelIgnore
    private boolean handleState;

    @ExcelIgnore
    private List<CustomFieldVo> customFieldVos;

}
